package cn.com.lsy.product.lepao.common;

public class Constant {

    /**
     * 验证参数签名的配置信息
     *
     * @author 99490
     */
    public static class getAppConfig {

        public static String appId = "5288971";
        public static String appSecret = "r5e2t85tyu142u665698fzu";
    }

    /**
     * 角色类型
     */
    public static class roleType {

        public static String app = "APP";// App
        public static String wechat = "WECHAT";// 微信
        public static String console = "CONSOLE";// 管理后台
    }

    /**
     * 状态
     *
     * @author 99490
     */
    public static class status {

        public static String enable = "1";// 启用
        public static String disable = "2";// 禁用
        public static String deleted = "3";// 删除
    }

    /**
     * 访问域名
     */
    public static class httpConfig {

        public static String doMain = "http://127.0.0.1/";// 域名
        public static String port = "8080";// 接口访问端口
        public static String apiUrl = "https://sc.lepao24h.com/lepao/";// 接口地址
        public static String deviceDomain = "http://sc.lepao24h.com/do/device/";
    }

    /**
     * 域名配置
     */
    public static class httpConf {

        public static String deviceDoMain = "http://sc.lepao24h.com/do/device/";
        public static String callDoMain = "http://t.yolanda.hk/";
        public static String testDoMain = "https://test.lepao24h.com/";
        public static String onlineDoMain = "https://sc.lepao24h.com/";
        public static String webviewDoamin = "https://webview.lepao24h.com/";
        public static String fatUrl = "http://120.27.61.96/fat/index.php";
    }

    /**
     * 文件上传保存路劲设置
     */
    public static class uploadsConfig {

        public static String saveBaseDirectory = "C:\\wamp64\\www\\file\\";// 文件保存根目录
        public static String httpBaseUrl = httpConfig.doMain + "file/";
    }

    /**
     * 时间格式化类型
     *
     * @author 99490
     */
    public static class formatType {

        public static String year = "yyyy-MM";// 年月
        public static String date = "yyyy-MM-dd";// 年月日
        public static String month = "MM月dd日";// 年月日
        public static String time = "yyyy-MM-dd HH:mm";// 年月日 时分
        public static String second = "yyyy-MM-dd HH:mm:ss";// 年月日 时分秒
        public static String times = "HH:mm";// 时分
    }

    /**
     * 验证码类型
     *
     * @author 99490
     */
    public static class smsCodeType {

        public static String register = "1";// 注册
        public static String forgetPwd = "2";// 忘记密码
        public static String login = "3";// 登录
        public static String updatePhone = "4";// 修改手机号
    }

    /**
     * 验证码状态
     *
     * @author 99490
     */
    public static class smsCodeStatus {

        public static String unverified = "1";// 待验证
        public static String verified = "2";// 已验证
    }

    /**
     * boolean状态
     *
     * @author 99490
     */
    public static class getBoolean {

        public static String yes = "1";// 确定
        public static String no = "0";// 否定
    }


    /**
     * 训练名称类型
     *
     * @author 99490
     */
    public static class trainNameType {

        public static String xinfei = "1";// 心肺
        public static String muscle = "2";// 肌肉
        public static String advanced = "3";// 进阶
        public static String relax = "4";// 放松
    }


    /**
     * 训练分类库视频类型
     *
     * @author 99490
     */
    public static class trainVideoType {

        public static String stretching = "1";// 拉伸
        public static String warmUp = "2";// 热身
        public static String xinfei = "3";// 心肺
        public static String pectoralStable = "4";// 肌肉稳定-胸肌
        public static String pectoralEndurance = "5";// 肌耐力-胸肌
        public static String fujiStable = "6";// 肌肉稳定-腹肌
        public static String fujiEndurance = "7";// 肌耐力-腹肌
        public static String legsStable = "8";// 肌肉稳定-下肢
        public static String legsEndurance = "9";// 肌耐力-下肢
        public static String advanced = "10";// 进阶
        public static String relax = "11";// 放松

    }


    /**
     * 训练日期类型
     *
     * @author 99490
     */
    public static class trainDayType {

        public static String train = "1";// 训练日
        public static String rest = "2";// 休息日
    }


    /**
     * 附近参数
     */
    public static class nearbyType {
        public static String distance = "2";
    }


    /**
     * 运动记录类型
     */
    public static class sportLogType {

        public static String plan = "1";//训练计划
        public static String course = "2";//课程
        public static String apparatus = "3";//器材
        public static String all = "0";//全部
    }


    /**
     * 运动记录图标
     */
    public static class sportLogIcon {

        public static String plan = "http://www.xhuom.cn/uploads/images/1541920309748445.png";//训练计划
        public static String course = "http://www.xhuom.cn/uploads/images/1541920309748445.png";//课程
        public static String apparatus = "http://www.xhuom.cn/uploads/images/1541920309748445.png";//器材
    }


    /**
     * 性别
     */
    public static class sex {
        public static String male = "1";//男
        public static String female = "2";//女
    }


    /**
     * 商品类型
     */
    public static class goodsType {

        public static String monthCard = "1";//月卡
        public static String dayCard = "2";//次卡
        public static String storeMonthCard = "3";//门店月卡
        public static String deposit = "4";//押金
        public static String recharge = "5";//充值

    }

    /**
     * 支付方式
     */
    public static class getPayType {
        public static String aliPay = "0";
        public static String weChatPay = "1";
        public static String balancePay = "2";
    }

    /**
     * 优惠类型
     */
    public static class discountType {

        public static String coupon = "1";//优惠劵
    }

    /**
     * 用户来源
     */
    public static class userSource {

        public static String register = "1";//自流量
        public static String recommend = "2";//推荐
    }

    /**
     * 消息类型
     */
    public static class messageType {

        public static String system = "0";//系统消息
        public static String user = "1";//个人消息
    }

    /**
     * 日志类型
     */
    public static class logType {

        public static String insert = "1";//写入
        public static String update = "2";//更新
        public static String delete = "3";//删除
        public static String login = "4";//登录
    }


    /**
     * 极光推送相关配置
     */
    public static class jpushConfig {

        public static String appKey = "216939556f44badded9a5e52";
        public static String masterSecret = "3d865a68ae1412de92eceade";
    }

}
